package com.ximcontroller.models.elements.floor;

public class XIMFloorTile implements java.io.Serializable
{
	static final long serialVersionUID = 200911280035L;
	
	private int id;
	private int number; 
	private int r, g, b; 
	
	XIMFloor owner; 
	XIMFloorTile[] neighbours;
	
	private int colorTile;
	
	
	public XIMFloorTile()
	{

		this.neighbours = new XIMFloorTile[6];
		
		this.initialize();
	}
	
	void initialize()
	{
		
	}
	
	public int getID()
	{
		return this.id;
	}
	
	public void setID(int id)
	{
		this.id = id;
	}
	
	public int getNumber()
	{
		return this.number;
	}
	
	public void setNumber(int number)
	{
		this.number = number;
	}

	public void setColor(int color)
	{
		this.colorTile = color;
	}

	public int getColor()
	{
		return colorTile;
	}

	/**
	 * @return the r
	 */
	public int getR() {
		return r;
	}

	/**
	 * @param r the r to set
	 */
	public void setR(int r) {
		this.r = r;
	}

	/**
	 * @return the g
	 */
	public int getG() {
		return g;
	}

	/**
	 * @param g the g to set
	 */
	public void setG(int g) {
		this.g = g;
	}

	/**
	 * @return the b
	 */
	public int getB() {
		return b;
	}

	/**
	 * @param b the b to set
	 */
	public void setB(int b) {
		this.b = b;
	}

	/**
	 * @return the owner
	 */
	public XIMFloor getOwner() {
		return owner;
	}

	/**
	 * @param owner the owner to set
	 */
	public void setOwner(XIMFloor owner) {
		this.owner = owner;
	}
	
}
